﻿using QFramework;
using UnityEngine;

namespace HKTools
{
    public class CMD_MenuButtonClick : AbstractCommand
    {
        HK_MenuData menuData;

        public CMD_MenuButtonClick(HK_MenuData menuData)
        {
            this.menuData = menuData;
        }

        protected override void OnExecute()
        {
            Debug.Log(menuData.Level + "级菜单：" + menuData.Name + "被点击");
        }
    }
}